package com.project_doctor.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 居民健康信息表
 * @TableName t_health
 */
@TableName(value ="t_health")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Health {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 关联居民ID
     */
    private Long residentId;

    /**
     * 身高(cm)
     */
    private BigDecimal height;

    /**
     * 体重(kg)
     */
    private BigDecimal weight;

    /**
     * 血型
     */
    private String bloodType;

    /**
     * RH阴性(0=否,1=是)
     */
    private Integer rhNegative;

    /**
     * 过敏史
     */
    private String allergyHistory;

    /**
     * 既往史
     */
    private String medicalHistory;

    /**
     * 就诊史
     */
    private String visitHistory;

    /**
     * 家族病史
     */
    private String familyHistory;

    /**
     * 测量时间
     */
    private Date measureTime;

    /**
     * 测量数值
     */
    private String healthValue;

    /**
     * 健康评估
     */
    private String assessment;

    /**
     * 数据来源
     */
    private String dataSource;

    /**
     * 预留字段1
     */
    private String reserved1;

    /**
     * 预留字段2
     */
    private String reserved2;

    /**
     * 预留字段3
     */
    private String reserved3;

    private String bloodPressure;

    private String fastingBloodGlucose;

    private String heartRate;

    private String conditionDescription;

    private String healthGuidance;
}